package com.ssy.lingxi.order.model.vo.mobile.response;

import lombok.Data;

import java.math.BigDecimal;

/**
 * 业务员小程序-查看绑定会员VO
 * @author 郑小翠
 * @version 2.02.18
 * @date 2022-03-25
 */
@Data
public class MobileMemberSalesCountQueryVO {

    /**
     * 下级会员Id
     */
    private Long memberId;

    /**
     * 下级会员名称
     */
    private String memberName;

    /**
     * 下级会员角色Id
     */
    private Long memberRoleId;

    /**
     * 下级会员角色名称
     */
    private String roleName;

    /**
     * 下单次数
     */
    private Long orderCount;

    /**
     * 订单应付金额
     */
    private BigDecimal amountPayable;

    /**
     * 订单已付金额
     */
    private BigDecimal amountPaid;

    /**
     * 售后退款金额
     */
    private BigDecimal refundAmount;

    /**
     * 支付次数
     */
    private Integer payCount;

    public MobileMemberSalesCountQueryVO(Long orderCount, BigDecimal amountPayable, BigDecimal amountPaid, BigDecimal refundAmount) {
        this.orderCount = orderCount;
        this.amountPayable = amountPayable;
        this.amountPaid = amountPaid;
        this.refundAmount = refundAmount;
    }
    public MobileMemberSalesCountQueryVO(Long memberId, String memberName, Long memberRoleId, Long orderCount, BigDecimal amountPayable, BigDecimal amountPaid, BigDecimal refundAmount) {
        this.memberId = memberId;
        this.memberName = memberName;
        this.memberRoleId = memberRoleId;
        this.orderCount = orderCount;
        this.amountPayable = amountPayable;
        this.amountPaid = amountPaid;
        this.refundAmount = refundAmount;
    }

    public MobileMemberSalesCountQueryVO() {
    }
}
